//
//  CACheckAgencyApi.m
//  LNH
//
//  Created by twentylx on 2018/2/26.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CACheckAgencyApi.h"

@implementation CACheckAgencyApi {
    NSString *_level;
    NSString *_remark;
}

- (instancetype) initWithLevel:(NSString *)level Remark:(NSString *)remark {
    self = [super init];
    if (self) {
        _level = level;
        _remark = remark;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodGET;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"level":_level,
             @"remark":_remark,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@checkAgency",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@checkAgency",BASE_SERVICE_DOMAIN];
}

@end


